Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rails generate flipper:update to generate migrations for updates #787

Merged
merged 4 commits into from
Dec 12, 2023

Conversation

bkeepers
Copy link
Collaborator

@bkeepers bkeepers commented Dec 11, 2023

❯ rails generate flipper:update
   identical  db/migrate/20231211183256_create_flipper_tables.rb
      create  db/migrate/20231211183315_change_flipper_gates_value_to_text.rb

❯ rake db:migrate
== 20231211183315 ChangeFlipperGatesValueToText: migrating ====================
-- change_column(:flipper_gates, :value, :text)
   -> 0.0046s
== 20231211183315 ChangeFlipperGatesValueToText: migrated (0.0051s) ===========

@bkeepers bkeepers requested a review from jnunemaker December 11, 2023 18:34
@bkeepers bkeepers merged commit 0a069a9 into main Dec 12, 2023
@bkeepers bkeepers deleted the update-generator branch December 12, 2023 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant